﻿<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <ClientWebPart Name="homepageView" Title="Homepage Announcements" Description="homepage view that shows a subset of all site's announcements" DefaultWidth="300" DefaultHeight="200">

    <!-- Content element identifies the location of the page that will render inside the client web part
         Properties are referenced on the query string using the pattern _propertyName_
         Example: Src="~appWebUrl/Pages/ClientWebPart1.aspx?Property1=_property1_" -->
    <Content Type="html" Src="~appWebUrl/Pages/homepageView.aspx?{StandardTokens}&amp;ListName=_listName_" />
    
    <!-- Define properties in the Properties element.
         Remember to put Property Name on the Src attribute of the Content element above. -->
    <Properties>
      <Property Name="listName" Type="string" WebBrowsable="true" WebDisplayName="Library or Library Name" WebDescription="Type a list name" WebCategory="Demo App Configuration" DefaultValue="Announcements" RequiresDesignerPermission="true" />
    </Properties>

  </ClientWebPart>
</Elements>
